package org.millioncall.yueyoga.admin.dao.impl;

import java.util.List;

import org.millioncall.openplatform.dao.PreparedQuery;
import org.millioncall.yueyoga.admin.dao.BaseDao;
import org.millioncall.yueyoga.admin.dao.PayTypeDAO;
import org.millioncall.yueyoga.admin.model.PayType;

public class PayTypeDAOImpl extends BaseDao implements PayTypeDAO {

	@Override
	public List<PayType> findAllAvailable() {
		PreparedQuery<PayType> pq = this.getPagableSqlSessionTemplate().findAll("findAllPayTypeAvailable");
		return pq.list();
	}

}
